import request from '../utils/request';

export const getStoreApproval = query => {
    return request({
        url: 'storeApproval/getStoreApprovalMsg',
        method: 'get',
        params: query
    });
};

export const agreeApproval = query => {
    return request({
        url: 'storeApproval/agreeApproval',
        method: 'post',
        params: query
    });
};

export const refuseApproval = query => {
    return request({
        url: 'storeApproval/refuseApproval',
        method: 'post',
        params: query
    });
};